home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / mule / mule-misc.elc.z / mule-misc.elc
Emacs Compiled Lisp  |  1998-05-21  |  5.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 73 74 65 76 65 40 61 |piled by| steve@a|
|00000020| 6c 74 61 69 72 2e 78 65 | 6d 61 63 73 2e 6f 72 67 |ltair.xe|macs.org|
|00000030| 20 6f 6e 20 54 68 75 20 | 4e 6f 76 20 32 30 20 31 | on Thu |Nov 20 1|
|00000040| 37 3a 34 30 3a 33 31 20 | 31 39 39 37 0a 3b 3b 3b |7:40:31 |1997.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 68 6f 6d 65 | from fi|le /home|
|00000060| 2f 78 65 6d 61 63 73 2f | 32 30 2e 33 2f 78 65 6d |/xemacs/|20.3/xem|
|00000070| 61 63 73 2d 32 30 2e 33 | 2f 6c 69 73 70 2f 6d 75 |acs-20.3|/lisp/mu|
|00000080| 6c 65 2f 6d 75 6c 65 2d | 6d 69 73 63 2e 65 6c 0a |le/mule-|misc.el.|
|00000090| 3b 3b 3b 20 65 6d 61 63 | 73 20 76 65 72 73 69 6f |;;; emac|s versio|
|000000a0| 6e 20 32 30 2e 33 20 22 | 56 61 74 69 63 61 6e 20 |n 20.3 "|Vatican |
|000000b0| 43 69 74 79 22 20 58 45 | 6d 61 63 73 20 20 4c 75 |City" XE|macs Lu|
|000000c0| 63 69 64 2e 0a 3b 3b 3b | 20 62 79 74 65 63 6f 6d |cid..;;;| bytecom|
|000000d0| 70 20 76 65 72 73 69 6f | 6e 20 32 2e 32 35 20 58 |p versio|n 2.25 X|
|000000e0| 45 6d 61 63 73 3b 20 32 | 32 2d 4d 61 72 2d 39 36 |Emacs; 2|2-Mar-96|
|000000f0| 2e 0a 3b 3b 3b 20 6f 70 | 74 69 6d 69 7a 61 74 69 |..;;; op|timizati|
|00000100| 6f 6e 20 69 73 20 6f 6e | 2e 0a 3b 3b 3b 20 74 68 |on is on|..;;; th|
|00000110| 69 73 20 66 69 6c 65 20 | 75 73 65 73 20 6f 70 63 |is file |uses opc|
|00000120| 6f 64 65 73 20 77 68 69 | 63 68 20 64 6f 20 6e 6f |odes whi|ch do no|
|00000130| 74 20 65 78 69 73 74 20 | 69 6e 20 45 6d 61 63 73 |t exist |in Emacs|
|00000140| 20 31 39 2e 0a 0a 28 69 | 66 20 28 61 6e 64 20 28 | 19...(i|f (and (|
|00000150| 62 6f 75 6e 64 70 20 27 | 65 6d 61 63 73 2d 76 65 |boundp '|emacs-ve|
|00000160| 72 73 69 6f 6e 29 0a 09 | 20 28 6f 72 20 28 61 6e |rsion)..| (or (an|
|00000170| 64 20 28 62 6f 75 6e 64 | 70 20 27 65 70 6f 63 68 |d (bound|p 'epoch|
|00000180| 3a 3a 76 65 72 73 69 6f | 6e 29 20 65 70 6f 63 68 |::versio|n) epoch|
|00000190| 3a 3a 76 65 72 73 69 6f | 6e 29 0a 09 20 20 20 20 |::versio|n).. |
|000001a0| 20 28 73 74 72 69 6e 67 | 2d 6c 65 73 73 70 20 65 | (string|-lessp e|
|000001b0| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 20 22 32 30 |macs-ver|sion "20|
|000001c0| 22 29 29 29 0a 20 20 20 | 20 28 65 72 72 6f 72 20 |"))). | (error |
|000001d0| 22 60 6d 75 6c 65 2d 6d | 69 73 63 2e 65 6c 27 20 |"`mule-m|isc.el' |
|000001e0| 77 61 73 20 63 6f 6d 70 | 69 6c 65 64 20 66 6f 72 |was comp|iled for|
|000001f0| 20 45 6d 61 63 73 20 32 | 30 22 29 29 0a 0a 28 6f | Emacs 2|0"))..(o|
|00000200| 72 20 28 62 6f 75 6e 64 | 70 20 27 63 75 72 72 65 |r (bound|p 'curre|
|00000210| 6e 74 2d 6c 6f 61 64 2d | 6c 69 73 74 29 20 28 73 |nt-load-|list) (s|
|00000220| 65 74 71 20 63 75 72 72 | 65 6e 74 2d 6c 6f 61 64 |etq curr|ent-load|
|00000230| 2d 6c 69 73 74 20 6e 69 | 6c 29 29 0a 0a 28 72 65 |-list ni|l))..(re|
|00000240| 71 75 69 72 65 20 27 6d | 75 6c 65 29 0a 3b 3b 3b |quire 'm|ule).;;;|
|00000250| 23 23 23 63 6f 64 69 6e | 67 20 73 79 73 74 65 6d |###codin|g system|
|00000260| 3a 20 65 73 63 61 70 65 | 2d 71 75 6f 74 65 64 0a |: escape|-quoted.|
|00000270| 0a 28 64 65 66 76 61 72 | 20 73 65 6c 66 2d 69 6e |.(defvar| self-in|
|00000280| 73 65 72 74 2d 61 66 74 | 65 72 2d 68 6f 6f 6b 20 |sert-aft|er-hook |
|00000290| 6e 69 6c 20 22 5c 0a 48 | 6f 6f 6b 20 74 6f 20 72 |nil "\.H|ook to r|
|000002a0| 75 6e 20 77 68 65 6e 20 | 65 78 74 65 6e 64 65 64 |un when |extended|
|000002b0| 20 73 65 6c 66 20 69 6e | 73 65 72 74 69 6f 6e 20 | self in|sertion |
|000002c0| 63 6f 6d 6d 61 6e 64 20 | 65 78 69 74 73 2e 20 20 |command |exits. |
|000002d0| 53 68 6f 75 6c 64 20 74 | 61 6b 65 0a 74 77 6f 20 |Should t|ake.two |
|000002e0| 61 72 67 75 6d 65 6e 74 | 73 20 53 54 41 52 54 20 |argument|s START |
|000002f0| 61 6e 64 20 45 4e 44 20 | 63 6f 72 72 65 73 70 6f |and END |correspo|
|00000300| 6e 64 69 6e 67 20 74 6f | 20 63 68 61 72 61 63 74 |nding to| charact|
|00000310| 65 72 20 70 6f 73 69 74 | 69 6f 6e 2e 22 29 0a 28 |er posit|ion.").(|
|00000320| 6d 61 6b 65 2d 76 61 72 | 69 61 62 6c 65 2d 62 75 |make-var|iable-bu|
|00000330| 66 66 65 72 2d 6c 6f 63 | 61 6c 20 27 73 65 6c 66 |ffer-loc|al 'self|
|00000340| 2d 69 6e 73 65 72 74 2d | 61 66 74 65 72 2d 68 6f |-insert-|after-ho|
|00000350| 6f 6b 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 74 |ok).(def|alias 't|
|00000360| 6f 67 67 6c 65 2d 64 69 | 73 70 6c 61 79 2d 64 69 |oggle-di|splay-di|
|00000370| 72 65 63 74 69 6f 6e 20 | 23 5b 6e 69 6c 20 22 08 |rection |#[nil ".|
|00000380| 3f 10 74 ad 82 c1 20 87 | 22 20 5b 64 69 73 70 6c |?.t... .|" [displ|
|00000390| 61 79 2d 64 69 72 65 63 | 74 69 6f 6e 20 72 65 64 |ay-direc|tion red|
|000003a0| 72 61 77 2d 64 69 73 70 | 6c 61 79 5d 20 31 20 6e |raw-disp|lay] 1 n|
|000003b0| 69 6c 20 6e 69 6c 5d 29 | 0a 28 64 65 66 61 6c 69 |il nil])|.(defali|
|000003c0| 61 73 20 27 73 74 72 69 | 6e 67 2d 74 6f 2d 63 68 |as 'stri|ng-to-ch|
|000003d0| 61 72 2d 6c 69 73 74 20 | 23 5b 28 73 74 72 29 20 |ar-list |#[(str) |
|000003e0| 22 c0 c1 5c 6e 5c 22 87 | 22 20 5b 6d 61 70 63 61 |"..\n\".|" [mapca|
|000003f0| 72 20 69 64 65 6e 74 69 | 74 79 20 73 74 72 5d 20 |r identi|ty str] |
|00000400| 33 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 73 |3]).(def|alias 's|
|00000410| 74 72 69 6e 67 2d 77 69 | 64 74 68 20 23 5b 28 73 |tring-wi|dth #[(s|
|00000420| 74 72 69 6e 67 29 20 22 | c0 09 47 c0 1a 1b 1b 1c |tring) "|..G.....|
|00000430| 5c 6e 0b 57 ab 90 0c c5 | c6 09 5c 6e 48 21 21 5c |\n.W....|..\nH!!\|
|00000440| 5c 14 5c 6e 54 89 12 aa | 6c 0c 2b 87 22 20 5b 30 |\.\nT...|l.+." [0|
|00000450| 20 73 74 72 69 6e 67 20 | 69 20 6c 65 6e 20 63 6f | string |i len co|
|00000460| 6c 20 63 68 61 72 73 65 | 74 2d 63 6f 6c 75 6d 6e |l charse|t-column|
|00000470| 73 20 63 68 61 72 2d 63 | 68 61 72 73 65 74 5d 20 |s char-c|harset] |
|00000480| 36 20 22 5c 0a 52 65 74 | 75 72 6e 20 6e 75 6d 62 |6 "\.Ret|urn numb|
|00000490| 65 72 20 6f 66 20 63 6f | 6c 75 6d 6e 73 20 53 54 |er of co|lumns ST|
|000004a0| 52 49 4e 47 20 6f 63 63 | 75 70 69 65 73 20 77 68 |RING occ|upies wh|
|000004b0| 65 6e 20 64 69 73 70 6c | 61 79 65 64 2e 0a 55 73 |en displ|ayed..Us|
|000004c0| 65 73 20 74 68 65 20 63 | 68 61 72 73 65 74 2d 63 |es the c|harset-c|
|000004d0| 6f 6c 75 6d 6e 73 20 61 | 74 74 72 69 62 75 74 65 |olumns a|ttribute|
|000004e0| 20 6f 66 20 74 68 65 20 | 63 68 61 72 61 63 74 65 | of the |characte|
|000004f0| 72 73 20 69 6e 20 53 54 | 52 49 4e 47 2c 0a 77 68 |rs in ST|RING,.wh|
|00000500| 69 63 68 20 6d 61 79 20 | 6e 6f 74 20 61 63 63 75 |ich may |not accu|
|00000510| 72 61 74 65 6c 79 20 72 | 65 70 72 65 73 65 6e 74 |rately r|epresent|
|00000520| 20 74 68 65 20 61 63 74 | 75 61 6c 20 64 69 73 70 | the act|ual disp|
|00000530| 6c 61 79 20 77 69 64 74 | 68 20 77 68 65 6e 0a 75 |lay widt|h when.u|
|00000540| 73 69 6e 67 20 61 20 77 | 69 6e 64 6f 77 20 73 79 |sing a w|indow sy|
|00000550| 73 74 65 6d 2e 22 5d 29 | 0a 28 62 79 74 65 2d 63 |stem."])|.(byte-c|
|00000560| 6f 64 65 20 22 c0 c1 c2 | 5c 22 88 c3 c1 c2 5c 22 |ode "...|\"....\"|
|00000570| 87 22 20 5b 64 65 66 61 | 6c 69 61 73 20 73 74 72 |." [defa|lias str|
|00000580| 69 6e 67 2d 63 6f 6c 75 | 6d 6e 73 20 73 74 72 69 |ing-colu|mns stri|
|00000590| 6e 67 2d 77 69 64 74 68 | 20 6d 61 6b 65 2d 6f 62 |ng-width| make-ob|
|000005a0| 73 6f 6c 65 74 65 5d 20 | 33 29 0a 28 64 65 66 61 |solete] |3).(defa|
|000005b0| 6c 69 61 73 20 27 64 65 | 6c 65 74 65 2d 74 65 78 |lias 'de|lete-tex|
|000005c0| 74 2d 69 6e 2d 63 6f 6c | 75 6d 6e 20 23 5b 28 66 |t-in-col|umn #[(f|
|000005d0| 72 6f 6d 20 74 6f 29 20 | 22 8a c0 89 19 1a 0b ab |rom to) |".......|
|000005e0| 99 c4 0b 21 89 12 0b 56 | ab 90 c5 c6 21 88 c7 c8 |...!...V|....!...|
|000005f0| 5c 6e 69 5a 5c 22 88 0b | 5c 6e 5a 75 88 60 12 1b |\niZ\"..|\nZu.`..|
|00000600| 0e 09 ab 9c c4 1b 0e 09 | 21 89 11 1b 0e 09 56 ab |........|!.....V.|
|00000610| 91 c5 c6 21 88 c7 c8 09 | 69 5a 5c 22 88 1b 0e 09 |...!....|iZ\"....|
|00000620| 09 5a 75 88 60 11 5c 6e | 09 7c 2b 87 22 20 5b 6e |.Zu.`.\n|.|+." [n|
|00000630| 69 6c 20 70 32 20 70 31 | 20 66 72 6f 6d 20 6d 6f |il p2 p1| from mo|
|00000640| 76 65 2d 74 6f 2d 63 6f | 6c 75 6d 6e 20 64 65 6c |ve-to-co|lumn del|
|00000650| 65 74 65 2d 63 68 61 72 | 20 2d 31 20 69 6e 73 65 |ete-char| -1 inse|
|00000660| 72 74 2d 63 68 61 72 20 | 3f 5c 20 20 74 6f 5d 20 |rt-char |?\ to] |
|00000670| 35 20 22 5c 0a 44 65 6c | 65 74 65 20 74 68 65 20 |5 "\.Del|ete the |
|00000680| 74 65 78 74 20 62 65 74 | 77 65 65 6e 20 63 6f 6c |text bet|ween col|
|00000690| 75 6d 6e 20 46 52 4f 4d | 20 61 6e 64 20 54 4f 20 |umn FROM| and TO |
|000006a0| 28 65 78 63 6c 75 73 69 | 76 65 29 20 6f 66 20 74 |(exclusi|ve) of t|
|000006b0| 68 65 20 63 75 72 72 65 | 6e 74 20 6c 69 6e 65 2e |he curre|nt line.|
|000006c0| 0a 4e 69 6c 20 6f 66 20 | 46 4f 52 4d 20 6f 72 20 |.Nil of |FORM or |
|000006d0| 54 4f 20 6d 65 61 6e 73 | 20 74 68 65 20 63 75 72 |TO means| the cur|
|000006e0| 72 65 6e 74 20 63 6f 6c | 75 6d 6e 2e 0a 0a 49 66 |rent col|umn...If|
|000006f0| 20 74 68 65 72 65 27 73 | 20 61 20 63 68 61 72 61 | there's| a chara|
|00000700| 63 74 65 72 20 61 63 72 | 6f 73 73 20 74 68 65 20 |cter acr|oss the |
|00000710| 62 6f 72 64 65 72 73 2c | 20 74 68 65 20 63 68 61 |borders,| the cha|
|00000720| 72 61 63 74 65 72 20 69 | 73 20 72 65 70 6c 61 63 |racter i|s replac|
|00000730| 65 64 0a 77 69 74 68 20 | 74 68 65 20 73 61 6d 65 |ed.with |the same|
|00000740| 20 77 69 64 74 68 20 6f | 66 20 73 70 61 63 65 73 | width o|f spaces|
|00000750| 20 62 65 66 6f 72 65 20 | 64 65 6c 65 74 69 6e 67 | before |deleting|
|00000760| 2e 22 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |."]).(de|falias '|
|00000770| 6d 63 2d 6e 6f 72 6d 61 | 6c 2d 66 6f 72 6d 2d 73 |mc-norma|l-form-s|
|00000780| 74 72 69 6e 67 20 23 5b | 28 73 74 72 29 20 22 c0 |tring #[|(str) ".|
|00000790| 19 c2 c3 0c 09 23 89 11 | ab a6 c5 09 58 ab 9c 09 |.....#..|....X...|
|000007a0| 0c 47 53 57 ab 95 0c 09 | 53 48 c6 57 ab 8d 0c 09 |.GSW....|SH.W....|
|000007b0| 54 48 c6 57 ab 85 0c 09 | c7 49 88 09 54 11 aa 51 |TH.W....|.I..T..Q|
|000007c0| c2 c3 0c c0 23 ab d0 c0 | 89 c8 1e 09 19 1e 5c 6e |....#...|......\n|
|000007d0| c2 c3 0c 09 23 89 11 ab | 8a 09 54 11 1b 0e 5c 6e |....#...|..T...\n|
|000007e0| 54 16 5c 6e aa 6d cb 0c | 47 1b 0e 5c 6e 5a c0 5c |T.\n.m..|G..\nZ.\|
|000007f0| 22 16 09 c0 11 c0 16 5c | 6e 09 0c 47 57 ab 9b 0c |"......\|n..GW...|
|00000800| 09 48 cc 55 ac 8e 1b 0e | 09 1b 0e 5c 6e 0c 09 48 |.H.U....|...\n..H|
|00000810| 49 88 1b 0e 5c 6e 54 16 | 5c 6e 09 54 89 11 aa 60 |I...\nT.|\n.T...`|
|00000820| 1b 0e 09 2b aa 81 0c 29 | 87 22 20 5b 30 20 69 20 |...+...)|." [0 i |
|00000830| 73 74 72 69 6e 67 2d 6d | 61 74 63 68 20 22 5c 6e |string-m|atch "\n|
|00000840| 22 20 73 74 72 20 31 20 | 31 32 38 20 3f 5c 20 20 |" str 1 |128 ?\ |
|00000850| 6e 69 6c 20 6e 65 77 20 | 63 20 6d 61 6b 65 2d 73 |nil new |c make-s|
|00000860| 74 72 69 6e 67 20 3f 5c | 6e 5d 20 35 20 22 5c 0a |tring ?\|n] 5 "\.|
|00000870| 1b 24 28 42 4a 38 3b 7a | 4e 73 1b 28 42 20 53 54 |.$(BJ8;z|Ns.(B ST|
|00000880| 52 20 1b 24 28 42 24 4e | 34 41 3b 7a 49 38 3d 60 |R .$(B$N|4A;zI8=`|
|00000890| 37 41 4a 38 3b 7a 4e 73 | 24 72 4a 56 24 39 21 25 |7AJ8;zNs|$rJV$9!%|
|000008a0| 1b 28 42 22 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |.(B"]).(|defalias|
|000008b0| 20 27 73 74 72 69 6e 67 | 2d 6d 65 6d 71 20 23 5b | 'string|-memq #[|
|000008c0| 28 73 74 72 20 6c 69 73 | 74 29 20 22 c0 89 19 1a |(str lis|t) "....|
|000008d0| 5c 6e ac 9d 0b ab 9a 0b | 40 89 11 a7 ab 84 c4 09 |\n......|@.......|
|000008e0| 21 11 0d 09 98 ab 85 0b | 89 12 aa 66 0b 41 13 aa |!.......|...f.A..|
|000008f0| 60 5c 6e 2a 87 22 20 5b | 6e 69 6c 20 65 6c 6d 20 |`\n*." [|nil elm |
|00000900| 66 69 6e 64 20 6c 69 73 | 74 20 63 68 61 72 2d 74 |find lis|t char-t|
|00000910| 6f 2d 73 74 72 69 6e 67 | 20 73 74 72 5d 20 33 20 |o-string| str] 3 |
|00000920| 22 5c 0a 52 65 74 75 72 | 6e 73 20 6e 6f 6e 2d 6e |"\.Retur|ns non-n|
|00000930| 69 6c 20 69 66 20 53 54 | 52 20 69 73 20 61 6e 20 |il if ST|R is an |
|00000940| 65 6c 65 6d 65 6e 74 20 | 6f 66 20 4c 49 53 54 2e |element |of LIST.|
|00000950| 20 20 43 6f 6d 70 61 72 | 69 73 6f 6e 20 64 6f 6e | Compar|ison don|
|00000960| 65 20 77 69 74 68 20 73 | 74 72 69 6e 67 3d 2e 0a |e with s|tring=..|
|00000970| 54 68 65 20 76 61 6c 75 | 65 20 69 73 20 61 63 74 |The valu|e is act|
|00000980| 75 61 6c 6c 79 20 74 68 | 65 20 74 61 69 6c 20 6f |ually th|e tail o|
|00000990| 66 20 4c 49 53 54 20 77 | 68 6f 73 65 20 63 61 72 |f LIST w|hose car|
|000009a0| 20 69 73 20 53 54 52 2e | 0a 49 66 20 65 61 63 68 | is STR.|.If each|
|000009b0| 20 65 6c 65 6d 65 6e 74 | 20 6f 66 20 4c 49 53 54 | element| of LIST|
|000009c0| 20 69 73 20 6e 6f 74 20 | 61 20 73 74 72 69 6e 67 | is not |a string|
|000009d0| 2c 20 69 74 20 69 73 20 | 63 6f 6e 76 65 72 74 65 |, it is |converte|
|000009e0| 64 20 74 6f 20 73 74 72 | 69 6e 67 0a 20 62 65 66 |d to str|ing. bef|
|000009f0| 6f 72 65 20 63 6f 6d 70 | 61 72 69 73 6f 6e 2e 22 |ore comp|arison."|
|00000a00| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 63 61 |]).(defa|lias 'ca|
|00000a10| 6e 63 65 6c 2d 75 6e 64 | 6f 2d 62 6f 75 6e 64 61 |ncel-und|o-bounda|
|00000a20| 72 79 20 23 5b 6e 69 6c | 20 22 08 3a ad 89 08 40 |ry #[nil| ".:...@|
|00000a30| 3f ad 84 08 41 89 10 87 | 22 20 5b 62 75 66 66 65 |?...A...|" [buffe|
|00000a40| 72 2d 75 6e 64 6f 2d 6c | 69 73 74 5d 20 32 20 22 |r-undo-l|ist] 2 "|
|00000a50| 5c 0a 43 61 6e 63 65 6c | 20 75 6e 64 6f 20 62 6f |\.Cancel| undo bo|
|00000a60| 75 6e 64 61 72 79 2e 22 | 5d 29 0a 28 62 79 74 65 |undary."|]).(byte|
|00000a70| 2d 63 6f 64 65 20 22 c0 | c1 c2 5c 22 88 c0 c3 c4 |-code ".|..\"....|
|00000a80| 5c 22 87 22 20 5b 64 65 | 66 61 6c 69 61 73 20 73 |\"." [de|falias s|
|00000a90| 72 65 66 20 61 72 65 66 | 20 6d 61 70 2d 63 68 61 |ref aref| map-cha|
|00000aa0| 72 2d 63 6f 6e 63 61 74 | 20 6d 61 70 63 61 72 5d |r-concat| mapcar]|
|00000ab0| 20 33 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 | 3).(def|alias 'c|
|00000ac0| 68 61 72 2d 62 79 74 65 | 73 20 23 5b 28 63 68 61 |har-byte|s #[(cha|
|00000ad0| 72 61 63 74 65 72 29 20 | 22 c0 87 22 20 5b 31 5d |racter) |".." [1]|
|00000ae0| 20 31 20 22 5c 0a 52 65 | 74 75 72 6e 20 6e 75 6d | 1 "\.Re|turn num|
|00000af0| 62 65 72 20 6f 66 20 6c | 65 6e 67 74 68 20 61 20 |ber of l|ength a |
|00000b00| 43 48 41 52 41 43 54 45 | 52 20 6f 63 63 75 70 69 |CHARACTE|R occupi|
|00000b10| 65 73 20 69 6e 20 61 20 | 73 74 72 69 6e 67 20 6f |es in a |string o|
|00000b20| 72 20 62 75 66 66 65 72 | 2e 0a 49 74 20 72 65 74 |r buffer|..It ret|
|00000b30| 75 72 6e 73 20 6f 6e 6c | 79 20 31 20 69 6e 20 58 |urns onl|y 1 in X|
|00000b40| 45 6d 61 63 73 2e 20 20 | 49 74 20 69 73 20 66 6f |Emacs. |It is fo|
|00000b50| 72 20 63 6f 6d 70 61 74 | 69 62 69 6c 69 74 79 20 |r compat|ibility |
|00000b60| 77 69 74 68 20 4d 55 4c | 45 20 32 2e 33 2e 22 5d |with MUL|E 2.3."]|
|00000b70| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 63 68 61 |).(defal|ias 'cha|
|00000b80| 72 2d 6c 65 6e 67 74 68 | 20 27 63 68 61 72 2d 62 |r-length| 'char-b|
|00000b90| 79 74 65 73 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |ytes).(d|efalias |
|00000ba0| 27 63 68 61 72 2d 77 69 | 64 74 68 20 23 5b 28 63 |'char-wi|dth #[(c|
|00000bb0| 68 61 72 61 63 74 65 72 | 29 20 22 c0 c1 5c 6e 21 |haracter|) "..\n!|
|00000bc0| 21 87 22 20 5b 63 68 61 | 72 73 65 74 2d 63 6f 6c |!." [cha|rset-col|
|00000bd0| 75 6d 6e 73 20 63 68 61 | 72 2d 63 68 61 72 73 65 |umns cha|r-charse|
|00000be0| 74 20 63 68 61 72 61 63 | 74 65 72 5d 20 33 20 22 |t charac|ter] 3 "|
|00000bf0| 5c 0a 52 65 74 75 72 6e | 20 6e 75 6d 62 65 72 20 |\.Return| number |
|00000c00| 6f 66 20 63 6f 6c 75 6d | 6e 73 20 61 20 43 48 41 |of colum|ns a CHA|
|00000c10| 52 41 43 54 45 52 20 6f | 63 63 75 70 69 65 73 20 |RACTER o|ccupies |
|00000c20| 77 68 65 6e 20 64 69 73 | 70 6c 61 79 65 64 2e 22 |when dis|played."|
|00000c30| 5d 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |]).(byte|-code ".|
|00000c40| c1 c2 5c 22 88 c3 c1 c2 | 5c 22 88 c0 c4 c5 5c 22 |..\"....|\"....\"|
|00000c50| 88 c0 c6 c7 5c 22 88 c0 | c8 c9 5c 22 87 22 20 5b |....\"..|..\"." [|
|00000c60| 64 65 66 61 6c 69 61 73 | 20 63 68 61 72 2d 63 6f |defalias| char-co|
|00000c70| 6c 75 6d 6e 73 20 63 68 | 61 72 2d 77 69 64 74 68 |lumns ch|ar-width|
|00000c80| 20 6d 61 6b 65 2d 6f 62 | 73 6f 6c 65 74 65 20 63 | make-ob|solete c|
|00000c90| 68 61 72 73 65 74 2d 64 | 65 73 63 72 69 70 74 69 |harset-d|escripti|
|00000ca0| 6f 6e 20 63 68 61 72 73 | 65 74 2d 64 6f 63 2d 73 |on chars|et-doc-s|
|00000cb0| 74 72 69 6e 67 20 66 69 | 6e 64 2d 63 68 61 72 73 |tring fi|nd-chars|
|00000cc0| 65 74 2d 73 74 72 69 6e | 67 20 63 68 61 72 73 65 |et-strin|g charse|
|00000cd0| 74 73 2d 69 6e 2d 73 74 | 72 69 6e 67 20 66 69 6e |ts-in-st|ring fin|
|00000ce0| 64 2d 63 68 61 72 73 65 | 74 2d 72 65 67 69 6f 6e |d-charse|t-region|
|00000cf0| 20 63 68 61 72 73 65 74 | 73 2d 69 6e 2d 72 65 67 | charset|s-in-reg|
|00000d00| 69 6f 6e 5d 20 33 29 0a | 28 64 65 66 61 6c 69 61 |ion] 3).|(defalia|
|00000d10| 73 20 27 66 69 6e 64 2d | 6e 6f 6e 2d 61 73 63 69 |s 'find-|non-asci|
|00000d20| 69 2d 63 68 61 72 73 65 | 74 2d 73 74 72 69 6e 67 |i-charse|t-string|
|00000d30| 20 23 5b 28 73 74 72 69 | 6e 67 29 20 22 c0 c1 c2 | #[(stri|ng) "...|
|00000d40| 0b 21 5c 22 87 22 20 5b | 64 65 6c 71 20 61 73 63 |.!\"." [|delq asc|
|00000d50| 69 69 20 63 68 61 72 73 | 65 74 73 2d 69 6e 2d 73 |ii chars|ets-in-s|
|00000d60| 74 72 69 6e 67 20 73 74 | 72 69 6e 67 5d 20 34 20 |tring st|ring] 4 |
|00000d70| 22 5c 0a 52 65 74 75 72 | 6e 20 61 20 6c 69 73 74 |"\.Retur|n a list|
|00000d80| 20 6f 66 20 63 68 61 72 | 73 65 74 73 20 69 6e 20 | of char|sets in |
|00000d90| 74 68 65 20 53 54 52 49 | 4e 47 20 65 78 63 65 70 |the STRI|NG excep|
|00000da0| 74 20 61 73 63 69 69 2e | 0a 49 74 20 6d 69 67 68 |t ascii.|.It migh|
|00000db0| 74 20 62 65 20 61 76 61 | 69 6c 61 62 6c 65 20 66 |t be ava|ilable f|
|00000dc0| 6f 72 20 63 6f 6d 70 61 | 74 69 62 69 6c 69 74 79 |or compa|tibility|
|00000dd0| 20 77 69 74 68 20 4d 75 | 6c 65 20 32 2e 33 2c 0a | with Mu|le 2.3,.|
|00000de0| 62 65 63 61 75 73 65 20 | 69 74 73 20 60 66 69 6e |because |its `fin|
|00000df0| 64 2d 63 68 61 72 73 65 | 74 2d 73 74 72 69 6e 67 |d-charse|t-string|
|00000e00| 27 20 69 67 6e 6f 72 65 | 73 20 41 53 43 49 49 20 |' ignore|s ASCII |
|00000e10| 63 68 61 72 73 65 74 2e | 22 5d 29 0a 28 64 65 66 |charset.|"]).(def|
|00000e20| 61 6c 69 61 73 20 27 66 | 69 6e 64 2d 6e 6f 6e 2d |alias 'f|ind-non-|
|00000e30| 61 73 63 69 69 2d 63 68 | 61 72 73 65 74 2d 72 65 |ascii-ch|arset-re|
|00000e40| 67 69 6f 6e 20 23 5b 28 | 73 74 61 72 74 20 65 6e |gion #[(|start en|
|00000e50| 64 29 20 22 c0 c1 c2 0b | 0c 5c 22 5c 22 87 22 20 |d) "....|.\"\"." |
|00000e60| 5b 64 65 6c 71 20 61 73 | 63 69 69 20 63 68 61 72 |[delq as|cii char|
|00000e70| 73 65 74 73 2d 69 6e 2d | 72 65 67 69 6f 6e 20 73 |sets-in-|region s|
|00000e80| 74 61 72 74 20 65 6e 64 | 5d 20 35 20 22 5c 0a 52 |tart end|] 5 "\.R|
|00000e90| 65 74 75 72 6e 20 61 20 | 6c 69 73 74 20 6f 66 20 |eturn a |list of |
|00000ea0| 63 68 61 72 73 65 74 73 | 20 65 78 63 65 70 74 20 |charsets| except |
|00000eb0| 61 73 63 69 69 20 69 6e | 20 74 68 65 20 72 65 67 |ascii in| the reg|
|00000ec0| 69 6f 6e 20 62 65 74 77 | 65 65 6e 20 53 54 41 52 |ion betw|een STAR|
|00000ed0| 54 20 61 6e 64 20 45 4e | 44 2e 0a 49 74 20 6d 69 |T and EN|D..It mi|
|00000ee0| 67 68 74 20 62 65 20 61 | 76 61 69 6c 61 62 6c 65 |ght be a|vailable|
|00000ef0| 20 66 6f 72 20 63 6f 6d | 70 61 74 69 62 69 6c 69 | for com|patibili|
|00000f00| 74 79 20 77 69 74 68 20 | 4d 75 6c 65 20 32 2e 33 |ty with |Mule 2.3|
|00000f10| 2c 0a 62 65 63 61 75 73 | 65 20 69 74 73 20 60 66 |,.becaus|e its `f|
|00000f20| 69 6e 64 2d 63 68 61 72 | 73 65 74 2d 73 74 72 69 |ind-char|set-stri|
|00000f30| 6e 67 27 20 69 67 6e 6f | 72 65 73 20 41 53 43 49 |ng' igno|res ASCI|
|00000f40| 49 20 63 68 61 72 73 65 | 74 2e 22 5d 29 0a 28 64 |I charse|t."]).(d|
|00000f50| 65 66 61 6c 69 61 73 20 | 27 73 70 6c 69 74 2d 63 |efalias |'split-c|
|00000f60| 68 61 72 20 23 5b 28 63 | 68 61 72 29 20 22 c0 09 |har #[(c|har) "..|
|00000f70| 21 89 1a c3 61 ab 85 5c | 6e 09 44 aa bb c4 c5 5c |!...a..\|n.D....\|
|00000f80| 6e 21 09 a8 ab 83 09 aa | 83 c6 09 21 c7 1e 08 1e |n!......|...!....|
|00000f90| 09 1e 5c 6e 89 1e 0b 1b | 0e 5c 6e 57 ab 99 cc 1b |..\n....|.\nW....|
|00000fa0| 0e 09 cd 5c 22 1b 0e 08 | 42 16 08 ce 1b 0e 09 cf |...\"...|B.......|
|00000fb0| 5c 22 16 09 1b 0e 0b 54 | 89 16 0b aa 62 5c 6e 1b |\".....T|....b\n.|
|00000fc0| 0e 08 2c 42 29 87 22 20 | 5b 63 68 61 72 2d 63 68 |..,B)." |[char-ch|
|00000fd0| 61 72 73 65 74 20 63 68 | 61 72 20 63 68 61 72 73 |arset ch|ar chars|
|00000fe0| 65 74 20 61 73 63 69 69 | 20 30 20 63 68 61 72 73 |et ascii| 0 chars|
|00000ff0| 65 74 2d 64 69 6d 65 6e | 73 69 6f 6e 20 63 68 61 |et-dimen|sion cha|
|00001000| 72 2d 69 6e 74 20 6e 69 | 6c 20 64 65 73 74 20 63 |r-int ni|l dest c|
|00001010| 6f 64 65 20 6c 65 6e 20 | 69 20 6c 6f 67 61 6e 64 |ode len |i logand|
|00001020| 20 31 32 37 20 6c 73 68 | 20 2d 37 5d 20 35 20 22 | 127 lsh| -7] 5 "|
|00001030| 5c 0a 52 65 74 75 72 6e | 20 6c 69 73 74 20 6f 66 |\.Return| list of|
|00001040| 20 63 68 61 72 73 65 74 | 20 61 6e 64 20 6f 6e 65 | charset| and one|
|00001050| 20 6f 72 20 74 77 6f 20 | 70 6f 73 69 74 69 6f 6e | or two |position|
|00001060| 2d 63 6f 64 65 73 20 6f | 66 20 43 48 41 52 2e 22 |-codes o|f CHAR."|
|00001070| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 73 65 |]).(defa|lias 'se|
|00001080| 74 2d 62 75 66 66 65 72 | 2d 70 72 6f 63 65 73 73 |t-buffer|-process|
|00001090| 2d 63 6f 64 69 6e 67 2d | 73 79 73 74 65 6d 20 23 |-coding-|system #|
|000010a0| 5b 28 64 65 63 6f 64 69 | 6e 67 20 65 6e 63 6f 64 |[(decodi|ng encod|
|000010b0| 69 6e 67 29 20 22 c0 70 | 21 89 19 ac 86 c2 c3 21 |ing) ".p|!......!|
|000010c0| 88 aa 90 c4 0d 21 88 c4 | 1b 0e 06 21 88 c7 09 0d |.....!..|...!....|
|000010d0| 1b 0e 06 23 88 29 c8 20 | 87 22 20 5b 67 65 74 2d |...#.). |." [get-|
|000010e0| 62 75 66 66 65 72 2d 70 | 72 6f 63 65 73 73 20 70 |buffer-p|rocess p|
|000010f0| 72 6f 63 20 65 72 72 6f | 72 20 22 6e 6f 20 70 72 |roc erro|r "no pr|
|00001100| 6f 63 65 73 73 22 20 63 | 68 65 63 6b 2d 63 6f 64 |ocess" c|heck-cod|
|00001110| 69 6e 67 2d 73 79 73 74 | 65 6d 20 64 65 63 6f 64 |ing-syst|em decod|
|00001120| 69 6e 67 20 65 6e 63 6f | 64 69 6e 67 20 73 65 74 |ing enco|ding set|
|00001130| 2d 70 72 6f 63 65 73 73 | 2d 63 6f 64 69 6e 67 2d |-process|-coding-|
|00001140| 73 79 73 74 65 6d 20 66 | 6f 72 63 65 2d 6d 6f 64 |system f|orce-mod|
|00001150| 65 2d 6c 69 6e 65 2d 75 | 70 64 61 74 65 5d 20 35 |e-line-u|pdate] 5|
|00001160| 20 22 5c 0a 53 65 74 20 | 63 6f 64 69 6e 67 20 73 | "\.Set |coding s|
|00001170| 79 73 74 65 6d 73 20 66 | 6f 72 20 74 68 65 20 70 |ystems f|or the p|
|00001180| 72 6f 63 65 73 73 20 61 | 73 73 6f 63 69 61 74 65 |rocess a|ssociate|
|00001190| 64 20 77 69 74 68 20 74 | 68 65 20 63 75 72 72 65 |d with t|he curre|
|000011a0| 6e 74 20 62 75 66 66 65 | 72 2e 0a 44 45 43 4f 44 |nt buffe|r..DECOD|
|000011b0| 49 4e 47 20 69 73 20 74 | 68 65 20 63 6f 64 69 6e |ING is t|he codin|
|000011c0| 67 20 73 79 73 74 65 6d | 20 74 6f 20 62 65 20 75 |g system| to be u|
|000011d0| 73 65 64 20 74 6f 20 64 | 65 63 6f 64 65 20 69 6e |sed to d|ecode in|
|000011e0| 70 75 74 20 66 72 6f 6d | 20 74 68 65 20 70 72 6f |put from| the pro|
|000011f0| 63 65 73 73 2c 0a 45 4e | 43 4f 44 49 4e 47 20 69 |cess,.EN|CODING i|
|00001200| 73 20 74 68 65 20 63 6f | 64 69 6e 67 20 73 79 73 |s the co|ding sys|
|00001210| 74 65 6d 20 74 6f 20 62 | 65 20 75 73 65 64 20 74 |tem to b|e used t|
|00001220| 6f 20 65 6e 63 6f 64 65 | 20 6f 75 74 70 75 74 20 |o encode| output |
|00001230| 74 6f 20 74 68 65 20 70 | 72 6f 63 65 73 73 2e 0a |to the p|rocess..|
|00001240| 0a 46 6f 72 20 61 20 6c | 69 73 74 20 6f 66 20 70 |.For a l|ist of p|
|00001250| 6f 73 73 69 62 6c 65 20 | 76 61 6c 75 65 73 20 6f |ossible |values o|
|00001260| 66 20 43 4f 44 49 4e 47 | 2d 53 59 53 54 45 4d 2c |f CODING|-SYSTEM,|
|00001270| 20 75 73 65 20 5c 5c 5b | 6c 69 73 74 2d 63 6f 64 | use \\[|list-cod|
|00001280| 69 6e 67 2d 73 79 73 74 | 65 6d 73 5d 2e 22 20 22 |ing-syst|ems]." "|
|00001290| 7a 43 6f 64 69 6e 67 2d | 73 79 73 74 65 6d 20 66 |zCoding-|system f|
|000012a0| 6f 72 20 70 72 6f 63 65 | 73 73 20 69 6e 70 75 74 |or proce|ss input|
|000012b0| 3a 20 5c 6e 7a 43 6f 64 | 69 6e 67 2d 73 79 73 74 |: \nzCod|ing-syst|
|000012c0| 65 6d 20 66 6f 72 20 70 | 72 6f 63 65 73 73 20 6f |em for p|rocess o|
|000012d0| 75 74 70 75 74 3a 20 22 | 5d 29 0a 28 64 65 66 61 |utput: "|]).(defa|
|000012e0| 6c 69 61 73 20 27 64 65 | 66 69 6e 65 2d 65 67 67 |lias 'de|fine-egg|
|000012f0| 2d 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 23 5b 28 |-environ|ment #[(|
|00001300| 65 6e 76 2d 73 79 6d 20 | 64 6f 63 2d 73 74 72 69 |env-sym |doc-stri|
|00001310| 6e 67 20 65 6e 61 62 6c | 65 2d 66 75 6e 63 74 69 |ng enabl|e-functi|
|00001320| 6f 6e 29 20 22 c0 09 c2 | 0b 23 88 c0 09 c4 0d 23 |on) "...|.#.....#|
|00001330| 87 22 20 5b 70 75 74 20 | 65 6e 76 2d 73 79 6d 20 |." [put |env-sym |
|00001340| 65 67 67 2d 65 6e 76 69 | 72 6f 6e 2d 64 6f 63 2d |egg-envi|ron-doc-|
|00001350| 73 74 72 69 6e 67 20 64 | 6f 63 2d 73 74 72 69 6e |string d|oc-strin|
|00001360| 67 20 73 65 74 2d 65 67 | 67 2d 65 6e 76 69 72 6f |g set-eg|g-enviro|
|00001370| 6e 20 65 6e 61 62 6c 65 | 2d 66 75 6e 63 74 69 6f |n enable|-functio|
|00001380| 6e 5d 20 34 20 22 5c 0a | 44 65 66 69 6e 65 20 61 |n] 4 "\.|Define a|
|00001390| 20 6e 65 77 20 6c 61 6e | 67 75 61 67 65 20 65 6e | new lan|guage en|
|000013a0| 76 69 72 6f 6e 6d 65 6e | 74 20 66 6f 72 20 65 67 |vironmen|t for eg|
|000013b0| 67 2c 20 6e 61 6d 65 64 | 20 62 79 20 45 4e 56 2d |g, named| by ENV-|
|000013c0| 53 59 4d 2e 0a 44 4f 43 | 2d 53 54 52 49 4e 47 20 |SYM..DOC|-STRING |
|000013d0| 73 68 6f 75 6c 64 20 62 | 65 20 61 20 73 74 72 69 |should b|e a stri|
|000013e0| 6e 67 20 64 65 73 63 72 | 69 62 69 6e 67 20 74 68 |ng descr|ibing th|
|000013f0| 65 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 2e 0a 45 |e enviro|nment..E|
|00001400| 4e 41 42 4c 45 2d 46 55 | 4e 43 54 49 4f 4e 20 73 |NABLE-FU|NCTION s|
|00001410| 68 6f 75 6c 64 20 62 65 | 20 61 20 66 75 6e 63 74 |hould be| a funct|
|00001420| 69 6f 6e 20 6f 66 20 6e | 6f 20 61 72 67 75 6d 65 |ion of n|o argume|
|00001430| 6e 74 73 20 74 68 61 74 | 20 77 69 6c 6c 20 62 65 |nts that| will be|
|00001440| 20 63 61 6c 6c 65 64 0a | 77 68 65 6e 20 74 68 65 | called.|when the|
|00001450| 20 6c 61 6e 67 75 61 67 | 65 20 65 6e 76 69 72 6f | languag|e enviro|
|00001460| 6e 6d 65 6e 74 20 69 73 | 20 6d 61 64 65 20 63 75 |nment is| made cu|
|00001470| 72 72 65 6e 74 2e 22 5d | 29 0a |rrent."]|). |
+--------+-------------------------+-------------------------+--------+--------+